import { Component } from '@angular/core';

declare var form: any;

@Component({
  templateUrl: './style.directory.html'
})
export class StyleDirectoryComponent {
  fs: any = null;
  ffs: any = null;

  constructor() {
    // 注册表单
    this.fs = new form.FormSimpleService('gismapstyledirectory', {
      orderObject: { order: 0 },
      keyField: 'id'
    });

    this.fs.loadData(true);
    // 文件服务
    this.ffs = new form.FileService();
  }
}
